package websocket.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 
 * 无人机坐标位置实体
 *
 * @author nrj
 * @since 2022-7-11 10:53:02
 * @version v1.0 
 */
@TableName("tb_wrj_pos")
@ApiModel(value="WrjPos对象", description="无人机坐标位置")
public class WrjPos implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(hidden = true)
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(name = "lat", value = "经度")
    private double lat;

    @ApiModelProperty(name = "lon", value = "纬度")
    private double lon;

    @ApiModelProperty(name = "creat_time", value = "创建时间")
    private String creatTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }
    public double getLon() {
        return lon;
    }

    public void setLon(double lon) {
        this.lon = lon;
    }
    public String getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(String creatTime) {
        this.creatTime = creatTime;
    }

    @Override
    public String toString() {
        return "WrjPos{" +
        "id=" + id +
        ", lat=" + lat +
        ", lon=" + lon +
        ", creatTime=" + creatTime +
        "}";
    }
}
